package com.ctn.information.data.retriever.Interface;

import java.util.List;

import org.json.JSONException;

import com.ctn.information.data.model.Menu;
import com.ctn.information.data.model.MenuLevel;
import com.ctn.information.data.retriever.Retriever;
import com.ctn.information.exception.MethodNotSupportException;


public interface MenuRetriever extends Retriever<Menu> {
	/**
	 * get Menu by MenuLevel.
	 * @param level
	 * @return
	 * @throws Exception 
	 */
	List<Menu> getMenuByLevel(MenuLevel level,Long id) throws Exception;
	/**
	 * get subscribe Menu by MenuLevel
	 * @param level
	 * @return
	 * @throws Exception 
	 */
	List<Menu> getSubMenuFromCache(MenuLevel level) throws Exception;
	
}
